package com.framwork.core.base;


import com.framwork.core.model.AbstractToJsonString;

/**
 * @author ：james.liu
 * @date ：Created in 2021/12/14 16:37
 * @description：
 * @version: 1.0
 */
public class AbstractAPIResult implements AbstractToJsonString {
    /**
     * 错误码，非 0 表示失败
     */
    private Integer code;
    /**
     * 错误描述
     */
    private String msg;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
